WooCommerce\PayPalCommerce\WcGateway\Checkout\DisableGateways S

Total Complexity 22
Dependencies 4
Dependents 0
Total lines 110
Lines of code 49
Logical lines of code 29
Comment lines 40
Methods 5
Properties 2

Methods 5

Method Rating Maintainability Complexity Lines of code
handler()
A
53 11 23
disable_both_gateways()
S
65 5 9
is_credit_card()
S
65 4 10
__construct()
S
77 1 4
needs_to_disable_gateways()
S
80 1 3